/**
 * $Id: BookItem.java 24 2011-06-17 13:31:30Z feigme $
 */
package com.iary.domain.model.book.chapter;

import com.iary.domain.model.ValueObject;

public class BookItem implements ValueObject<BookItem> {

	private static final long serialVersionUID = -1686989310417516741L;

	private Long id;
	private String name;
	private Double order;

	// Needed by Hibernate
	BookItem() {

	}

	public BookItem(String name) {
		this.name = name;
	}

	public void setOrder(Double order) {
		this.order = order;
	}

	public Long getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public Double getOrder() {
		return order;
	}
}
